Leadtools.Dicom.Scp.Command Namespace > DicomCommandFactory Class > CreateTypedCommand Method : CreateTypedCommand<T>(IDicomCommandClientSessionProxy,Int64[]) Method |
public virtual T CreateTypedCommand<T>( IDicomCommandClientSessionProxy sessionProxy, long[] attributes ) where T: DicomCommand
'Declaration Public Overloads Overridable Function CreateTypedCommand(Of T As DicomCommand)( _ ByVal sessionProxy As IDicomCommandClientSessionProxy, _ ByVal attributes() As Long _ ) As T
'Usage Dim instance As DicomCommandFactory Dim sessionProxy As IDicomCommandClientSessionProxy Dim attributes() As Long Dim value As T value = instance.CreateTypedCommand(Of T)(sessionProxy, attributes)
public virtual T CreateTypedCommand<T>( IDicomCommandClientSessionProxy sessionProxy, long[] attributes )where T: DicomCommand
function Leadtools.Dicom.Scp.Command.DicomCommandFactory.CreateTypedCommand``1(IDicomCommandClientSessionProxy,Int64[])( sessionProxy , attributes )
public: virtual T^ CreateTypedCommandgeneric<typename T> ( IDicomCommandClientSessionProxy^ sessionProxy, array<int64>^ attributes ) where T: DicomCommand
This method will try to create a DicomCommand with the given generic type. It will also pass the provided sessionProxy and requestDataSet to the command constructor.
If the method fails to create the command it will throw an exception.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2